Skip to content

Update users, keep track of tokens and a bugfix#8

Open
JIBSIL wants to merge 3 commits intodevfrom
JIBSIL-patch-1
Open

Update users, keep track of tokens and a bugfix#8
JIBSIL wants to merge 3 commits intodevfrom
JIBSIL-patch-1

Conversation

@JIBSIL
Copy link
Owner

@JIBSIL JIBSIL commented Aug 25, 2021

Major notes:

  • The ability to update users is here. Users can update their own information and admins can update every user's information.
  • A mongo collection called tokens will be created that tracks users' tokens. Stay tuned for more abilities such as revoking and blocking tokens.

Minor notes:

  • NOAUTH has been clarified to NOUSER when a user is not found.
  • Changed NOAUTH_ERROR_POSSIBLE_SPOOF to a non-500 error code since there is no internal server error.

@JIBSIL
Copy link
Owner Author

JIBSIL commented Aug 25, 2021

First commit added minor note 1, clarifying noauth.

A possible spoof is not an internal server error
@JIBSIL
Copy link
Owner Author

JIBSIL commented Aug 25, 2021

Second commit added minor note 2, fixing 500 error

@JIBSIL
Copy link
Owner Author

JIBSIL commented Aug 26, 2021

All commits added, now I need to fix the token system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant